package com.sansan.qiangji.service.inter.base;

import com.sansan.qiangji.entity.base.DeviceAlarm;
import com.sansan.qiangji.entity.base.example.DeviceAlarmExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceAlarmService {


    long countByExample(DeviceAlarmExample example);

    int deleteByExample(DeviceAlarmExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DeviceAlarm record);

    int insertSelective(DeviceAlarm record);

    List<DeviceAlarm> selectByExample(DeviceAlarmExample example);

    DeviceAlarm selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DeviceAlarm record, @Param("example") DeviceAlarmExample example);

    int updateByExample(@Param("record") DeviceAlarm record, @Param("example") DeviceAlarmExample example);

    int updateByPrimaryKeySelective(DeviceAlarm record);

    int updateByPrimaryKey(DeviceAlarm record);
}
